HipAsset

Undocumented in source.

Constructors

this
this(string assetName)
Undocumented in source.

Members

Functions

assetID
uint assetID()
Undocumented in source. Be warned that the author may not have intended to support it.
dispose
void dispose()

Currently, no AssetID recycle is in mind. It will only invalidate the asset for disposing it on an appropriate time

finishLoading
void finishLoading()
Undocumented in source. Be warned that the author may not have intended to support it.
name
string name()
Undocumented in source. Be warned that the author may not have intended to support it.
name
string name(string newName)
Undocumented in source. Be warned that the author may not have intended to support it.
onDispose
void onDispose()

Use it to clear the engine.

onFinishLoading
void onFinishLoading()

Action for when the asset finishes loading Proabably be executed on the main thread

startLoading
void startLoading()
Undocumented in source. Be warned that the author may not have intended to support it.
typeID
uint typeID()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_assetID
uint _assetID;

Currently not in use

_name
string _name;

Use it to insert into an asset pool, alias

_typeID
uint _typeID;

Usage inside asset manager

loadTime
float loadTime;

How much time it took to load, in millis

startLoadingTimestamp
float startLoadingTimestamp;

When it started loading

Inherited Members

From ILoadable

isReady
bool isReady()

Should return if the asset is ready for use

From IHipAsset

name
string name()
Undocumented in source.
name
string name(string newName)
Undocumented in source.
assetID
uint assetID()
Undocumented in source.
typeID
uint typeID()
Undocumented in source.

Meta